package com.middlegroup.pay.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.middlegroup.common.mybatisplus.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 主体通道表
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@TableName("t_subject_channels")
@Data
public class SubjectChannels extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * t_subject.id
     */
    @TableField("subject_id")
    private Long subjectId;
    /**
     * t_channels.id
     */
    @TableField("channel_id")
    private Long channelId;
    /**
     * 是否启用
            1：是
            0：否
     */
    private Integer enabled;
    /**
     * 交易服务的网关地址
     */
    @TableField("service_url")
    private String serviceUrl;

}
